Operator FullGrayCamera

Operator Library: Hardware Platform

The operator transfers image data from a Camera Link FULL GRAY configuration camera into VisualApplets. Any FULL GRAY configurations of the Camera Link standard are supported.

The operator uses 2 resources of type CameraPort exclusively. Thus, both ports of the frame grabber, port A (0) and port B (1), are occupied and cannot be used by other operators. The same resource index can only be used once per applet.

Compatibility to VisualApplets 2.1: In case you designed applets for mE5VD8-PoCL containing the FullGrayCamera operator with an older VisualApplets version: In earlier VisualApplets versions, operator FullGrayCamera used 3 CameraPort resources. You can load these old applets in VisualApplets 2.2. The applet gets adapted immediately, and only 2 CameraPort resources are displayed. When saving the applet in VisualApplets 2.2, the contained FullGrayCamera it is saved in its new version. After saving, the updated applet can only be loaded in VisualApplets version 2.2 or higher.

Available for Hardware Platforms
mE5 VD8-PoCL (ironman)
mE5 marathon VCLx
mE5 marathon VCL
LightBridge VCL

I/O Properties

Property Value
Operator Type M
Output Link O, image data output

Supported Link Format

Link Parameter Output Link O
Bit Width Any1
Arithmetic unsigned
Parallelism Any, see parameter description
Kernel Columns 1
Kernel Rows 1
Img Protocol {VALT_IMAGE2D,VALT_LINE1D}
Color Format VAF_GRAY
Color Flavor FL_NONE
Max. Img Width Any
Max. Img Height Any

1

Parameter BitWidth can be set to a larger or smaller value than the actual bitwidth sent by the camera.

If the parameter is set to a smaller value than the actual bitwidth sent by the camera, the least significant bits (LSB) of the pixel are cut off. Only the most signicicant bits (MSB) are transferred into VisualApplets.

If the parameter is set to a bigger value than the actual bitwidth sent by the camera, the original pixel is set on the MSB position. The LSBs are filled with zeros.

In both cases, the relative brightness stays the same, i.e., white pixels remain withe and dark pixels remain dark.

Parameters

DvalMode
Type dynamic write parameter
Default DVAL_Enabled
Range {DVAL_Enabled, DVAL_Disabled}

The parameter specifies whether DVAL is used to mask valid pixels or if it is ignored. When DVAL is ignored, the valid pixels are selected according to LVAL and FVAL statuses.

FvalMode
Type dynamic/static write parameter
Default CameraLinkStandard
Range {CameraLinkStandard, IgnoreFval}
  • CameraLinkStandard

    The operator expects frame valid (FVAL) signals from the camera. In this case, the operator will output frames according to the FVAL size.

  • IgnoreFval

    If this setting is used, the operator will ignore any FVAL signals from the camera. All input lines will be used and merged into a sigle image with infinite height.

    [Note] Only available for Output Image Protocol VALT_IMAGE2D

    This parameter is only available if the output is set to image protocol VALT_IMAGE2D. If VALT_LINE1D is selected, the parameter is disabled and the FVAL is ignored anyway.

    [Warning] VisualApplets Link Rules Violation

    When the camera operator outputs a frame of infinite height, the Max. Img Height defined in the link properties might be exceeded. This causes a violation of the VisualApplets link rules. Ensure to use valid heights. Use operator SplitImage to limit the image height and split the endless image into multiple chunks.

The intention of this parameter is to allow the usage of area scan an line scan cameras dynamically in the same applet.

FullMode
Type dynamic write parameter
Default Tap8x8bit
Range {Tap8x8bit, Tap10x8bit, Tap8x10bit}

The parameter specifies the FULL configuration mode.

Tap10x8bit and Tap8x10bit are FULL/80bit configurations as specified in the CameraLink specification 2.0.

CameraStatus
Type dynamic read parameter
Default
Range

LightBridge/marathon: [0;2^36-1]

mE5 VD8 ironman: [0;2^12-1]

Parameter CameraStatus depends on the frame grabber hardware you are programming for. Find below the descriptions first for marathon and Lightbridge, than for mE5 VD8-PoCL (ironman).

marathon and Lightbridge:

bit[0]: PCLK [0] available

bit[1]: FVAL [0] current value

bit[2]: LVAL [0] current value

bit[3]: DVAL [0] current value

bit[4-11]: reserved

bit[12]: PCLK [1] available

bit[13]: FVAL [1] current value

bit[14]: LVAL [1] current value

bit[15]: DVAL [1] current value

bit[16-23]: reserved

bit[24]: PCLK [2] available

bit[25]: FVAL [2] current value

bit[26]: LVAL [2] current value

bit[27]: DVAL [2] current value

bit[28-35]: reserved

mE5 VD8-PoCL (ironman):

bit[0]: PCLK [0] available

bit[1]: FVAL [0] current value

bit[2]: LVAL [0] current value

bit[3]: DVAL [0] current value

bit[4]: PCLK [1] available

bit[5]: FVAL [1] current value

bit[6]: LVAL [1] current value

bit[7]: DVAL [1] current value

bit[8]: PCLK [2] available

bit[9]: FVAL [2] current value

bit[10]: LVAL [2] current value

bit[11]: DVAL [2] current value

CameraLinkCoreReset
Type dynamic write parameter
Default 0
Range [0; 1]

Reserved for support issues.

PixelClockX
Type dynamic read parameter
Default 0
Range [0; 85] MHz

Pixel clock rate of camera channel X in MHz.

PixelClockY
Type dynamic read parameter
Default 0
Range [0; 85] MHz

Pixel clock rate of camera channel Y in MHz.

PixelClockZ
Type dynamic read parameter
Default 0
Range [0; 85] MHz

Pixel clock rate of camera channel Z in MHz.

MinimalParallelism
Type static read parameter
Default 7
Range {1; 1024}

Minimal parallelism for the output link O to be able to transport the maximal bandwidth of the camera without losing data. This value depends on the currently selected design clock frequency. The higher the frequency the lower the parallelism value can become.

Examples of Use

The use of operator FullGrayCamera is shown in the following examples: